use strict;
use warnings;

sub foo
{
    print "In foo\n";
    bar();
}

sub bar
{
    print "In baz\n";
    baz();
}

sub baz
{
    die "This program dies.";
}

foo();

